Fix clipping of pixbuf drawing to windows
authorAlexander Larsson <alexl@redhat.com>
Thu, 23 Jul 2009 19:53:46 +0000 (21:53 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 23 Jul 2009 20:03:15 +0000 (22:03 +0200)
commit9d69355e6f000ba2b8c7ae8897a04f3d6c8c19da
tree6d9fa430594b1410009f082c4413e59fa7aa0b17
parente71c5d3ab544466754bb1b85358186e8d7e7b9f9
Fix clipping of pixbuf drawing to windows

When the fallback for gdk_draw_pixbuf (gdk_drawable_real_draw_pixbuf)
is called with a window destination we have already applied any clip
regions and offsets for the window, but the window we get is a wrapper
and not an impl. We have to ensure we really draw to the impl, as
otherwise the pixbuf drawing will be clipped by client side subwindows.

This fixes bug 588553.
gdk/gdkdraw.c